﻿
	using System; 
	using System.Collections;
	using System.Collections.Generic ;
	using System.Runtime.Serialization;

namespace UFIDA.U9.Cust.SH.SHFastShipBE
{
	/// <summary>
	/// 快速出货行 缺省DTO 
	/// 
	/// </summary>
	[DataContract(Name = "UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipLineData", Namespace = "http://www.UFIDA.org/EntityData",IsReference=true)]	
	[Serializable]
    [KnownType("GetKnownTypes")]
	public partial class SHFastShipLineData : UFSoft.UBF.Business.DataTransObjectBase
	{

	    public static IList<Type> GetKnownTypes()
        {
            IList<Type> knownTypes = new List<Type>();
            
                        
                        
                        
                        
                        
                                        knownTypes.Add(typeof(UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipData));
                        
                                        knownTypes.Add(typeof(UFIDA.U9.CBO.SCM.Item.ItemMasterData));
                        
                                        knownTypes.Add(typeof(UFIDA.U9.Base.UOM.UOMData));
                        
                        
                        
                        
                        
                        
                        
                                        knownTypes.Add(typeof(UFIDA.U9.CBO.SCM.Warehouse.WarehouseData));
                                        knownTypes.Add(typeof(UFIDA.U9.SM.SO.SOShiplineData));
                                        knownTypes.Add(typeof(List<UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLineData>));
                        
                        
                        
                                        knownTypes.Add(typeof(UFIDA.U9.CBO.MFG.BOM.BOMMasterData));
                                        knownTypes.Add(typeof(UFIDA.U9.Base.Organization.OrganizationData));
                                        knownTypes.Add(typeof(UFIDA.U9.SM.SO.SOLineData));
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                                        knownTypes.Add(typeof(UFIDA.U9.Lot.LotMasterData));
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
            
                knownTypes.Add(typeof(UFSoft.UBF.Util.Data.MultiLangDataDict));
            return knownTypes;
        }
		/// <summary>
		/// Default Constructor
		/// </summary>
		public SHFastShipLineData()
		{
			initData() ;
		}
		private void initData()
		{
			//设置默认值
	     			
	     			
	     			
	     			
	     			
	     							SysVersion= 0; 			     			
	     							DocLineNo= 0; 			     			
	     							Qty=0m; 
	     			
	     							AvailableQty=0m; 
	     							Price=0m; 
	     							Amount=0m; 
	     							ProductCost=0m; 
	     							MarkCost=0m; 
	     							TransportCost=0m; 
	     							StoreCost=0m; 
	     			
	     			
	     			
	     			
	     							Weight=0m; 
	     							StoreQty=0m; 
	     			
	     			
	     			
	     			
	     			
	     			
	     			
	     			
	     			
	     			
	     							ProductPrice=0m; 
	     							MarkPrice=0m; 
	     							TransportPrice=0m; 
	     							StorePrice=0m; 
	     			
	     			
	     							FinalAmount=0m; 
	     							TBFee=0m; 
	     							ZMDProfit=0m; 
	     							ZDLProfit=0m; 
	     							GSTransportFee=0m; 
	     							GSProfit=0m; 
	     							DevideRatio=0m; 
	     							OrderQty=0m; 
	     							LackQty=0m; 
	     							Deposit=0m; 
	     							SalePrice=0m; 
	     			
	     			
	     			
	     							DocLineState= 0; 		

			//设置组合的集合属性为List<>对象. -目前直接在属性上处理.
			
			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}		
		[System.Runtime.Serialization.OnDeserializing]
        internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
        {
			 initData();
        }
        
		#region System Fields
		///<summary>
		/// 实体类型. 
		/// </summary>
		[DataMember(IsRequired=false)]
		public override string SysEntityType
		{
			get { return "UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipLine" ;}
		}
		#endregion


		
		#region Properties Inner Component
	        			
			private UFSoft.UBF.Business.BusinessEntity.EntityKey m_sHFastShip_SKey ;
			/// <summary>
			/// 快速出货 序列化Key属性。（传递跨组织序列列字段）
			/// 快速出货行.Misc.快速出货
			/// </summary>
			[DataMember(IsRequired=false)]
			public UFSoft.UBF.Business.BusinessEntity.EntityKey SHFastShip_SKey
			{
				get 
				{
					return m_sHFastShip_SKey ;					
				}
				set
				{
					m_sHFastShip_SKey = value ;	
				}
			}
		/// <summary>
		/// 快速出货
		/// 快速出货行.Misc.快速出货
		/// </summary>
		[DataMember(IsRequired=false)]
		private UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipData m_sHFastShip;
		public UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipData SHFastShip
		{
			get	
			{	
				return m_sHFastShip ;
			}
			set	
			{	
				m_sHFastShip = value ;
			}
		}		

			        					/// <summary>
		/// 快速出货子行
		/// 快速出货行.Misc.快速出货子行
		/// </summary>
		[DataMember(IsRequired=false)]
		private List<UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLineData> m_sHFastShipSubLine;
		public List<UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLineData> SHFastShipSubLine
		{
			get	
			{	
				if (m_sHFastShipSubLine == null)
				{
					List<UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLineData> m_list = new List<UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipSubLineData>() ;
					m_sHFastShipSubLine = m_list;
				}
				return m_sHFastShipSubLine ;
			}
			set	
			{	
				m_sHFastShipSubLine = value ;
			}
		}		

			        					/// <summary>
		/// 行状态
		/// 快速出货行.Misc.行状态
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int32 m_docLineState;
		public System.Int32 DocLineState
		{
			get	
			{	
				return m_docLineState ;
			}
			set	
			{	
				m_docLineState = value ;
			}
		}		

			
		#endregion	

		#region Properties Outer Component
		
				/// <summary>
		/// ID
		/// 快速出货行.Key.ID
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int64 m_iD ;
		public System.Int64 ID
		{
			get	
			{	
				return m_iD  ;
			}
			set	
			{	
				m_iD = value ;	
			}
		}
		

				/// <summary>
		/// 创建时间
		/// 快速出货行.Sys.创建时间
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.DateTime m_createdOn ;
		public System.DateTime CreatedOn
		{
			get	
			{	
				return m_createdOn  ;
			}
			set	
			{	
				m_createdOn = value ;	
			}
		}
		

				/// <summary>
		/// 创建人
		/// 快速出货行.Sys.创建人
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_createdBy ;
		public System.String CreatedBy
		{
			get	
			{	
				return m_createdBy  ;
			}
			set	
			{	
				m_createdBy = value ;	
			}
		}
		

				/// <summary>
		/// 修改时间
		/// 快速出货行.Sys.修改时间
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.DateTime m_modifiedOn ;
		public System.DateTime ModifiedOn
		{
			get	
			{	
				return m_modifiedOn  ;
			}
			set	
			{	
				m_modifiedOn = value ;	
			}
		}
		

				/// <summary>
		/// 修改人
		/// 快速出货行.Sys.修改人
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_modifiedBy ;
		public System.String ModifiedBy
		{
			get	
			{	
				return m_modifiedBy  ;
			}
			set	
			{	
				m_modifiedBy = value ;	
			}
		}
		

				/// <summary>
		/// 事务版本
		/// 快速出货行.Sys.事务版本
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int64 m_sysVersion ;
		public System.Int64 SysVersion
		{
			get	
			{	
				return m_sysVersion  ;
			}
			set	
			{	
				m_sysVersion = value ;	
			}
		}
		

				/// <summary>
		/// 行号
		/// 快速出货行.Misc.行号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int32 m_docLineNo ;
		public System.Int32 DocLineNo
		{
			get	
			{	
				return m_docLineNo  ;
			}
			set	
			{	
				m_docLineNo = value ;	
			}
		}
		

		
		private UFSoft.UBF.Business.BusinessEntity.EntityKey m_item_SKey ;
		/// <summary>
		/// 料品 序列化Key属性。（传递跨组织序列列字段）
		/// 快速出货行.Misc.料品
		/// </summary>
		[DataMember(IsRequired=false)]
		public UFSoft.UBF.Business.BusinessEntity.EntityKey Item_SKey
		{
			get 
			{
				return m_item_SKey ;					
			}
			set
			{
				 m_item_SKey = value ;	
			}
		}
		/// <summary>
		/// 料品
		/// 快速出货行.Misc.料品
		/// </summary>
		[DataMember(IsRequired=false)]
		public System.Int64 Item
		{
			get	
			{	
				if (Item_SKey == null)
					return UFSoft.UBF.Business.Entity.EmptyObjectValue ;
				else
					return Item_SKey.ID ;
			}
			set	
			{	
				if (value == 0 || value == UFSoft.UBF.Business.Entity.EmptyObjectValue )
					Item_SKey = null ;
				else
				{
					if (Item_SKey == null )
						Item_SKey = new UFSoft.UBF.Business.BusinessEntity.EntityKey(value,"UFIDA.U9.CBO.SCM.Item.ItemMaster") ;
					else
						Item_SKey.ID = value ;
				}
			}
		}
		

				/// <summary>
		/// 数量
		/// 快速出货行.Misc.数量
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_qty ;
		public System.Decimal Qty
		{
			get	
			{	
				return m_qty  ;
			}
			set	
			{	
				m_qty = value ;	
			}
		}
		

		
		private UFSoft.UBF.Business.BusinessEntity.EntityKey m_uOM_SKey ;
		/// <summary>
		/// 单位 序列化Key属性。（传递跨组织序列列字段）
		/// 快速出货行.Misc.单位
		/// </summary>
		[DataMember(IsRequired=false)]
		public UFSoft.UBF.Business.BusinessEntity.EntityKey UOM_SKey
		{
			get 
			{
				return m_uOM_SKey ;					
			}
			set
			{
				 m_uOM_SKey = value ;	
			}
		}
		/// <summary>
		/// 单位
		/// 快速出货行.Misc.单位
		/// </summary>
		[DataMember(IsRequired=false)]
		public System.Int64 UOM
		{
			get	
			{	
				if (UOM_SKey == null)
					return UFSoft.UBF.Business.Entity.EmptyObjectValue ;
				else
					return UOM_SKey.ID ;
			}
			set	
			{	
				if (value == 0 || value == UFSoft.UBF.Business.Entity.EmptyObjectValue )
					UOM_SKey = null ;
				else
				{
					if (UOM_SKey == null )
						UOM_SKey = new UFSoft.UBF.Business.BusinessEntity.EntityKey(value,"UFIDA.U9.Base.UOM.UOM") ;
					else
						UOM_SKey.ID = value ;
				}
			}
		}
		

				/// <summary>
		/// 可用量
		/// 快速出货行.Misc.可用量
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_availableQty ;
		public System.Decimal AvailableQty
		{
			get	
			{	
				return m_availableQty  ;
			}
			set	
			{	
				m_availableQty = value ;	
			}
		}
		

				/// <summary>
		/// 单价
		/// 快速出货行.Misc.单价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_price ;
		public System.Decimal Price
		{
			get	
			{	
				return m_price  ;
			}
			set	
			{	
				m_price = value ;	
			}
		}
		

				/// <summary>
		/// 金额
		/// 快速出货行.Misc.金额
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_amount ;
		public System.Decimal Amount
		{
			get	
			{	
				return m_amount  ;
			}
			set	
			{	
				m_amount = value ;	
			}
		}
		

				/// <summary>
		/// 产品费
		/// 快速出货行.Misc.产品费
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_productCost ;
		public System.Decimal ProductCost
		{
			get	
			{	
				return m_productCost  ;
			}
			set	
			{	
				m_productCost = value ;	
			}
		}
		

				/// <summary>
		/// 品牌费
		/// 快速出货行.Misc.品牌费
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_markCost ;
		public System.Decimal MarkCost
		{
			get	
			{	
				return m_markCost  ;
			}
			set	
			{	
				m_markCost = value ;	
			}
		}
		

				/// <summary>
		/// 物流费
		/// 快速出货行.Misc.物流费
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_transportCost ;
		public System.Decimal TransportCost
		{
			get	
			{	
				return m_transportCost  ;
			}
			set	
			{	
				m_transportCost = value ;	
			}
		}
		

				/// <summary>
		/// 仓储费
		/// 快速出货行.Misc.仓储费
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_storeCost ;
		public System.Decimal StoreCost
		{
			get	
			{	
				return m_storeCost  ;
			}
			set	
			{	
				m_storeCost = value ;	
			}
		}
		

		
		private UFSoft.UBF.Business.BusinessEntity.EntityKey m_wH_SKey ;
		/// <summary>
		/// 仓库 序列化Key属性。（传递跨组织序列列字段）
		/// 快速出货行.Misc.仓库
		/// </summary>
		[DataMember(IsRequired=false)]
		public UFSoft.UBF.Business.BusinessEntity.EntityKey WH_SKey
		{
			get 
			{
				return m_wH_SKey ;					
			}
			set
			{
				 m_wH_SKey = value ;	
			}
		}
		/// <summary>
		/// 仓库
		/// 快速出货行.Misc.仓库
		/// </summary>
		[DataMember(IsRequired=false)]
		public System.Int64 WH
		{
			get	
			{	
				if (WH_SKey == null)
					return UFSoft.UBF.Business.Entity.EmptyObjectValue ;
				else
					return WH_SKey.ID ;
			}
			set	
			{	
				if (value == 0 || value == UFSoft.UBF.Business.Entity.EmptyObjectValue )
					WH_SKey = null ;
				else
				{
					if (WH_SKey == null )
						WH_SKey = new UFSoft.UBF.Business.BusinessEntity.EntityKey(value,"UFIDA.U9.CBO.SCM.Warehouse.Warehouse") ;
					else
						WH_SKey.ID = value ;
				}
			}
		}
		

		
		private UFSoft.UBF.Business.BusinessEntity.EntityKey m_sOShipline_SKey ;
		/// <summary>
		/// 订单计划行 序列化Key属性。（传递跨组织序列列字段）
		/// 快速出货行.Misc.订单计划行
		/// </summary>
		[DataMember(IsRequired=false)]
		public UFSoft.UBF.Business.BusinessEntity.EntityKey SOShipline_SKey
		{
			get 
			{
				return m_sOShipline_SKey ;					
			}
			set
			{
				 m_sOShipline_SKey = value ;	
			}
		}
		/// <summary>
		/// 订单计划行
		/// 快速出货行.Misc.订单计划行
		/// </summary>
		[DataMember(IsRequired=false)]
		public System.Int64 SOShipline
		{
			get	
			{	
				if (SOShipline_SKey == null)
					return UFSoft.UBF.Business.Entity.EmptyObjectValue ;
				else
					return SOShipline_SKey.ID ;
			}
			set	
			{	
				if (value == 0 || value == UFSoft.UBF.Business.Entity.EmptyObjectValue )
					SOShipline_SKey = null ;
				else
				{
					if (SOShipline_SKey == null )
						SOShipline_SKey = new UFSoft.UBF.Business.BusinessEntity.EntityKey(value,"UFIDA.U9.SM.SO.SOShipline") ;
					else
						SOShipline_SKey.ID = value ;
				}
			}
		}
		

				/// <summary>
		/// 备注
		/// 快速出货行.Misc.备注
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_memo ;
		public System.String Memo
		{
			get	
			{	
				return m_memo  ;
			}
			set	
			{	
				m_memo = value ;	
			}
		}
		

				/// <summary>
		/// 重量
		/// 快速出货行.Misc.重量
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_weight ;
		public System.Decimal Weight
		{
			get	
			{	
				return m_weight  ;
			}
			set	
			{	
				m_weight = value ;	
			}
		}
		

				/// <summary>
		/// 库存量
		/// 快速出货行.Misc.库存量
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_storeQty ;
		public System.Decimal StoreQty
		{
			get	
			{	
				return m_storeQty  ;
			}
			set	
			{	
				m_storeQty = value ;	
			}
		}
		

		
		private UFSoft.UBF.Business.BusinessEntity.EntityKey m_bOM_SKey ;
		/// <summary>
		/// BOM 序列化Key属性。（传递跨组织序列列字段）
		/// 快速出货行.Misc.BOM
		/// </summary>
		[DataMember(IsRequired=false)]
		public UFSoft.UBF.Business.BusinessEntity.EntityKey BOM_SKey
		{
			get 
			{
				return m_bOM_SKey ;					
			}
			set
			{
				 m_bOM_SKey = value ;	
			}
		}
		/// <summary>
		/// BOM
		/// 快速出货行.Misc.BOM
		/// </summary>
		[DataMember(IsRequired=false)]
		public System.Int64 BOM
		{
			get	
			{	
				if (BOM_SKey == null)
					return UFSoft.UBF.Business.Entity.EmptyObjectValue ;
				else
					return BOM_SKey.ID ;
			}
			set	
			{	
				if (value == 0 || value == UFSoft.UBF.Business.Entity.EmptyObjectValue )
					BOM_SKey = null ;
				else
				{
					if (BOM_SKey == null )
						BOM_SKey = new UFSoft.UBF.Business.BusinessEntity.EntityKey(value,"UFIDA.U9.CBO.MFG.BOM.BOMMaster") ;
					else
						BOM_SKey.ID = value ;
				}
			}
		}
		

		
		private UFSoft.UBF.Business.BusinessEntity.EntityKey m_bOMOrg_SKey ;
		/// <summary>
		/// BOM所属组织 序列化Key属性。（传递跨组织序列列字段）
		/// 快速出货行.Misc.BOM所属组织
		/// </summary>
		[DataMember(IsRequired=false)]
		public UFSoft.UBF.Business.BusinessEntity.EntityKey BOMOrg_SKey
		{
			get 
			{
				return m_bOMOrg_SKey ;					
			}
			set
			{
				 m_bOMOrg_SKey = value ;	
			}
		}
		/// <summary>
		/// BOM所属组织
		/// 快速出货行.Misc.BOM所属组织
		/// </summary>
		[DataMember(IsRequired=false)]
		public System.Int64 BOMOrg
		{
			get	
			{	
				if (BOMOrg_SKey == null)
					return UFSoft.UBF.Business.Entity.EmptyObjectValue ;
				else
					return BOMOrg_SKey.ID ;
			}
			set	
			{	
				if (value == 0 || value == UFSoft.UBF.Business.Entity.EmptyObjectValue )
					BOMOrg_SKey = null ;
				else
				{
					if (BOMOrg_SKey == null )
						BOMOrg_SKey = new UFSoft.UBF.Business.BusinessEntity.EntityKey(value,"UFIDA.U9.Base.Organization.Organization") ;
					else
						BOMOrg_SKey.ID = value ;
				}
			}
		}
		

		
		private UFSoft.UBF.Business.BusinessEntity.EntityKey m_sOLine_SKey ;
		/// <summary>
		/// 订单行 序列化Key属性。（传递跨组织序列列字段）
		/// 快速出货行.Misc.订单行
		/// </summary>
		[DataMember(IsRequired=false)]
		public UFSoft.UBF.Business.BusinessEntity.EntityKey SOLine_SKey
		{
			get 
			{
				return m_sOLine_SKey ;					
			}
			set
			{
				 m_sOLine_SKey = value ;	
			}
		}
		/// <summary>
		/// 订单行
		/// 快速出货行.Misc.订单行
		/// </summary>
		[DataMember(IsRequired=false)]
		public System.Int64 SOLine
		{
			get	
			{	
				if (SOLine_SKey == null)
					return UFSoft.UBF.Business.Entity.EmptyObjectValue ;
				else
					return SOLine_SKey.ID ;
			}
			set	
			{	
				if (value == 0 || value == UFSoft.UBF.Business.Entity.EmptyObjectValue )
					SOLine_SKey = null ;
				else
				{
					if (SOLine_SKey == null )
						SOLine_SKey = new UFSoft.UBF.Business.BusinessEntity.EntityKey(value,"UFIDA.U9.SM.SO.SOLine") ;
					else
						SOLine_SKey.ID = value ;
				}
			}
		}
		

				/// <summary>
		/// 沙发规格
		/// 快速出货行.Misc.沙发规格
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_sFSpec ;
		public System.String SFSpec
		{
			get	
			{	
				return m_sFSpec  ;
			}
			set	
			{	
				m_sFSpec = value ;	
			}
		}
		

				/// <summary>
		/// 沙发布料
		/// 快速出货行.Misc.沙发布料
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_sFMaterial ;
		public System.String SFMaterial
		{
			get	
			{	
				return m_sFMaterial  ;
			}
			set	
			{	
				m_sFMaterial = value ;	
			}
		}
		

				/// <summary>
		/// 方向位
		/// 快速出货行.Misc.方向位
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_direction ;
		public System.String Direction
		{
			get	
			{	
				return m_direction  ;
			}
			set	
			{	
				m_direction = value ;	
			}
		}
		

				/// <summary>
		/// 沙发件数
		/// 快速出货行.Misc.沙发件数
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_sFCount ;
		public System.String SFCount
		{
			get	
			{	
				return m_sFCount  ;
			}
			set	
			{	
				m_sFCount = value ;	
			}
		}
		

				/// <summary>
		/// 下线客户
		/// 快速出货行.Misc.下线客户
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_lastCustomer ;
		public System.String LastCustomer
		{
			get	
			{	
				return m_lastCustomer  ;
			}
			set	
			{	
				m_lastCustomer = value ;	
			}
		}
		

				/// <summary>
		/// 正特价
		/// 快速出货行.Misc.正特价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_priceType ;
		public System.String PriceType
		{
			get	
			{	
				return m_priceType  ;
			}
			set	
			{	
				m_priceType = value ;	
			}
		}
		

				/// <summary>
		/// 批号
		/// 快速出货行.Misc.批号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_lot ;
		public System.String Lot
		{
			get	
			{	
				return m_lot  ;
			}
			set	
			{	
				m_lot = value ;	
			}
		}
		

				/// <summary>
		/// 产品单价
		/// 快速出货行.Misc.产品单价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_productPrice ;
		public System.Decimal ProductPrice
		{
			get	
			{	
				return m_productPrice  ;
			}
			set	
			{	
				m_productPrice = value ;	
			}
		}
		

				/// <summary>
		/// 品牌单价
		/// 快速出货行.Misc.品牌单价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_markPrice ;
		public System.Decimal MarkPrice
		{
			get	
			{	
				return m_markPrice  ;
			}
			set	
			{	
				m_markPrice = value ;	
			}
		}
		

				/// <summary>
		/// 运输单价
		/// 快速出货行.Misc.运输单价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_transportPrice ;
		public System.Decimal TransportPrice
		{
			get	
			{	
				return m_transportPrice  ;
			}
			set	
			{	
				m_transportPrice = value ;	
			}
		}
		

				/// <summary>
		/// 仓储单价
		/// 快速出货行.Misc.仓储单价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_storePrice ;
		public System.Decimal StorePrice
		{
			get	
			{	
				return m_storePrice  ;
			}
			set	
			{	
				m_storePrice = value ;	
			}
		}
		

		
		private UFSoft.UBF.Business.BusinessEntity.EntityKey m_lotMaster_SKey ;
		/// <summary>
		/// 批号主档 序列化Key属性。（传递跨组织序列列字段）
		/// 快速出货行.Misc.批号主档
		/// </summary>
		[DataMember(IsRequired=false)]
		public UFSoft.UBF.Business.BusinessEntity.EntityKey LotMaster_SKey
		{
			get 
			{
				return m_lotMaster_SKey ;					
			}
			set
			{
				 m_lotMaster_SKey = value ;	
			}
		}
		/// <summary>
		/// 批号主档
		/// 快速出货行.Misc.批号主档
		/// </summary>
		[DataMember(IsRequired=false)]
		public System.Int64 LotMaster
		{
			get	
			{	
				if (LotMaster_SKey == null)
					return UFSoft.UBF.Business.Entity.EmptyObjectValue ;
				else
					return LotMaster_SKey.ID ;
			}
			set	
			{	
				if (value == 0 || value == UFSoft.UBF.Business.Entity.EmptyObjectValue )
					LotMaster_SKey = null ;
				else
				{
					if (LotMaster_SKey == null )
						LotMaster_SKey = new UFSoft.UBF.Business.BusinessEntity.EntityKey(value,"UFIDA.U9.Lot.LotMaster") ;
					else
						LotMaster_SKey.ID = value ;
				}
			}
		}
		

				/// <summary>
		/// 订单号
		/// 快速出货行.Misc.订单号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_sODocNo ;
		public System.String SODocNo
		{
			get	
			{	
				return m_sODocNo  ;
			}
			set	
			{	
				m_sODocNo = value ;	
			}
		}
		

				/// <summary>
		/// 最终成交额
		/// 快速出货行.Misc.最终成交额
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_finalAmount ;
		public System.Decimal FinalAmount
		{
			get	
			{	
				return m_finalAmount  ;
			}
			set	
			{	
				m_finalAmount = value ;	
			}
		}
		

				/// <summary>
		/// 淘宝费用
		/// 快速出货行.Misc.淘宝费用
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_tBFee ;
		public System.Decimal TBFee
		{
			get	
			{	
				return m_tBFee  ;
			}
			set	
			{	
				m_tBFee = value ;	
			}
		}
		

				/// <summary>
		/// 专卖店利润
		/// 快速出货行.Misc.专卖店利润
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_zMDProfit ;
		public System.Decimal ZMDProfit
		{
			get	
			{	
				return m_zMDProfit  ;
			}
			set	
			{	
				m_zMDProfit = value ;	
			}
		}
		

				/// <summary>
		/// 总代理利润
		/// 快速出货行.Misc.总代理利润
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_zDLProfit ;
		public System.Decimal ZDLProfit
		{
			get	
			{	
				return m_zDLProfit  ;
			}
			set	
			{	
				m_zDLProfit = value ;	
			}
		}
		

				/// <summary>
		/// 公司至总代运费
		/// 快速出货行.Misc.公司至总代运费
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_gSTransportFee ;
		public System.Decimal GSTransportFee
		{
			get	
			{	
				return m_gSTransportFee  ;
			}
			set	
			{	
				m_gSTransportFee = value ;	
			}
		}
		

				/// <summary>
		/// 公司利润
		/// 快速出货行.Misc.公司利润
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_gSProfit ;
		public System.Decimal GSProfit
		{
			get	
			{	
				return m_gSProfit  ;
			}
			set	
			{	
				m_gSProfit = value ;	
			}
		}
		

				/// <summary>
		/// 分成比例
		/// 快速出货行.Misc.分成比例
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_devideRatio ;
		public System.Decimal DevideRatio
		{
			get	
			{	
				return m_devideRatio  ;
			}
			set	
			{	
				m_devideRatio = value ;	
			}
		}
		

				/// <summary>
		/// 订货数量
		/// 快速出货行.Misc.订货数量
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_orderQty ;
		public System.Decimal OrderQty
		{
			get	
			{	
				return m_orderQty  ;
			}
			set	
			{	
				m_orderQty = value ;	
			}
		}
		

				/// <summary>
		/// 缺货数量
		/// 快速出货行.Misc.缺货数量
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_lackQty ;
		public System.Decimal LackQty
		{
			get	
			{	
				return m_lackQty  ;
			}
			set	
			{	
				m_lackQty = value ;	
			}
		}
		

				/// <summary>
		/// 定金
		/// 快速出货行.Misc.定金
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_deposit ;
		public System.Decimal Deposit
		{
			get	
			{	
				return m_deposit  ;
			}
			set	
			{	
				m_deposit = value ;	
			}
		}
		

				/// <summary>
		/// 销售价
		/// 快速出货行.Misc.销售价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_salePrice ;
		public System.Decimal SalePrice
		{
			get	
			{	
				return m_salePrice  ;
			}
			set	
			{	
				m_salePrice = value ;	
			}
		}
		

				/// <summary>
		/// 组合料号
		/// 快速出货行.Misc.组合料号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_mDItemCode ;
		public System.String MDItemCode
		{
			get	
			{	
				return m_mDItemCode  ;
			}
			set	
			{	
				m_mDItemCode = value ;	
			}
		}
		

				/// <summary>
		/// 门店订单明细ID
		/// 快速出货行.Misc.门店订单明细ID
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_mDLineID ;
		public System.String MDLineID
		{
			get	
			{	
				return m_mDLineID  ;
			}
			set	
			{	
				m_mDLineID = value ;	
			}
		}
		

				/// <summary>
		/// 门店订单号
		/// 快速出货行.Misc.门店订单号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_mDDocNo ;
		public System.String MDDocNo
		{
			get	
			{	
				return m_mDDocNo  ;
			}
			set	
			{	
				m_mDDocNo = value ;	
			}
		}
		
		#endregion	

		#region Multi_Fields
																																																							
		#endregion 		
	}	

}

